package com.lnsf.bookstore.web.topicBook.service.impl;

import com.lnsf.bookstore.web.topic.dao.ApiTopicMapper;
import com.lnsf.bookstore.web.topic.vo.ApiTopic;
import com.lnsf.bookstore.web.topicBook.dao.ApiTopicBookMapper;
import com.lnsf.bookstore.web.topicBook.service.ApiTopicBookService;
import com.lnsf.bookstore.web.topicBook.vo.ApiTopicBook;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ApiTopicBookServiceImpl implements ApiTopicBookService {

    @Autowired
    private ApiTopicMapper apiTopicMapper;
    @Autowired
    private ApiTopicBookMapper apiTopicBookMapper;

    @Override
    public List<ApiTopicBook> queryList(Map<String, Object> map) {
        return apiTopicBookMapper.queryList(map);
    }

    @Override
    public ApiTopicBook queryObject(Integer id) {
        return apiTopicBookMapper.queryObject(id);
    }
}
